package com.citrus.demo.services;

import com.citrus.demo.bean.CitrusDisease;

import java.util.List;

public interface CitrusDiseaseService {
    /**
     * 添加一个病虫害
     * @param citrusDisease
     */
    void addCitrusDisease(CitrusDisease citrusDisease);

    /**
     * 查询全部病虫害
     * @return
     */
    List<CitrusDisease> findCitrusDiseaseAll();
}
